package grape.workflow.service.comment.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import grape.workflow.service.comment.dto.CommentDto;
import grape.workflow.service.comment.query.CommentQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by yangwei
 * Created at 2020/6/24 10:28
 */
public interface CommentMapper {

    List<CommentDto> list(@Param("commentParam") CommentQuery commentParam);

    IPage<CommentDto> listPage(IPage<CommentDto> page, @Param("commentParam") CommentQuery commentParam);

    boolean insert(CommentDto commentDto);


}
